/* 预定义变量 */
:root {
    /* 颜色 */
    --color-1: #fff;
    --color-2: #abedd8;
    --color-3: #46dcdf;
    --color-4: #3d84a8;
    --color-5: #48466d;
    --color-error: #ff6985;
    --color-warning: #f7b731;
    --color-success: #4cd964;
    --color-info: #5b6cf2;
    --color-gray: #8c8c8c;
    --color-light-error: #ffe6e6;
    --color-light-warning: #fff7d6;
    --color-light-success: #d1f2e5;
    --color-light-info: #e6f2ff;
    --color-light-gray: #f2f2f2;
    /* 尺寸 */
    --size-xxxs: 6px;
    --size-xxs: 8px;
    --size-xs: 10px;
    --size-s: 12px;
    --size-m: 14px;
    --size-l: 18px;
    --size-xl: 24px;
    --size-xxl: 32px;
    --size-xxxl: 64px;
    --size-xxxxl: 128px;
}

/* 字体 */
@font-face {
    font-family: 'AiDianFengYaHei';
    src: url('../fonts/AiDianFengYaHei/AiDianFengYaHei.ttf');
}

/* 初始化 */
html, body {
    font-family: 'AiDianFengYaHei', sans-serif;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    min-width: 100vw;
    min-height: 100vh;
    font-size: 14px;
    font-weight: 300;
    color: var(--color-1);
    /* -webkit-user-select: none; /* Safari 3.1+ */
    /* -moz-user-select: none; /* Firefox 2+ */
    /* -ms-user-select: none; /* IE 10+ */
    /* user-select: none; /* Standard syntax */
}
a {
    text-decoration: none;
    color: var(--color-1);
}
a:hover {
    color: var(--color-4);
}
ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}
li {
    float: left;
    padding: 0px 15px;
}
li a {
    display: block;
    text-align: center;
    letter-spacing : 2px;

    -webkit-transition: all 0.3s ease-in;
    -moz-transition: all 0.3s ease-in;
    -ms-transition: all 0.3s ease-in;
    -o-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
}
pre {
    white-space: pre-wrap;
}

/* 预定义样式 */

/* flex */
.flex {
    display: flex;
}
.row {
    flex-direction: row;
}
.col {
    flex-direction: column;
}
.justify-start {
    justify-content: flex-start;
}
.justify-end {
    justify-content: flex-end;
}
.justify-center {
    justify-content: center;
}
.justify-between {
    justify-content: space-between;
}
.justify-around {
    justify-content: space-around;
}
.wrap {
    flex-wrap: wrap;
}
.nowrap {
    flex-wrap: nowrap;
}
.align-start {
    align-items: flex-start;
}
.align-end {
    align-items: flex-end;
}
.align-center {
    align-items: center;
}
.align-stretch {
    align-items: stretch;
}

/* text-align */
.text-left {
    text-align: left;
}
.text-right {
    text-align: right;
}
.text-center {
    text-align: center;
}
